<template>
    <div class="app-container editcss">
        <el-row :gutter="0" class="el-card is-always-shadow el-card__body  card_contents" style="padding: 0px;">
            <el-col class="titleHeight">
                <el-row class="content_h">
                    <el-col class="title_tops">
                        <div class="title_tops_t">
                            <div class="title_top_E">Order Center</div>
                            <div class="title_top_C">设备服务订单</div>
                        </div>
                    </el-col>
                    <el-col style="padding: 15px 20px 0;">
                        <el-row class="">
                            <el-col :span="4" class="">
                                <div class="screen_case_amount  mb15">
                                    <span class="screen_case_amount_lable">订单数量（笔）：</span>
                                    <span class="screen_case_amount_value">{{ total }}</span>
                                </div>
                            </el-col>
                            <el-col :span="20">
                                <el-row>
                                    <el-col :span="7">
                                        <screenSelect title="设备编号" type='input' v-model="queryFrom.deviceNo"
                                            :isValue='queryFrom.deviceNo' placeholder="请输入"
                                            @transfer="valueHeld($event, 'deviceNo')" class=" mb15" />
                                        <!-- <screenSelect title="订单状态" type='select' v-model="queryFrom.presentStage"
                                            :isValue='queryFrom.presentStage' placeholder="全部"
                                            @transfer="valueHeld($event, 'presentStage')" :options="presentStageoptions"
                                            class=" mb15" /> -->
                                            <screenSelect title="部位病种" type='select' v-model="queryFrom.treatmentId"
                                            :isValue='queryFrom.treatmentId' placeholder="全部"
                                            @transfer="valueHeld($event, 'treatmentId')" :options="treatLists"
                                            class=" mb15" />
                                            
                                    </el-col>
                                    <el-col :span="7">
                                        <screenSelect title="配置机构" type='select' v-model="queryFrom.hospitalId"
                                            :isValue='queryFrom.hospitalId' placeholder="请选择"
                                            @transfer="valueHeld($event, 'hospitalId')" :options="hospitaloptions"
                                            class=" mb15" />
                                        <screenSelect title="配置科室" type='select' v-model="queryFrom.hospitalDepartId"
                                            :isValue='queryFrom.hospitalDepartId' placeholder="请选择"
                                            @transfer="valueHeld($event, 'hospitalDepartId')" :options="hospartoptions"
                                            class=" mb15" />
                                    </el-col>
                                    <el-col :span="10">
                                        <screenSelect title="时间段筛选" type='daterange'
                                            v-model="queryFrom.transferDateTime" :isValue='queryFrom.transferDateTime'
                                            @transfer="valueHeld($event, 'transferDateTime')" class="mb15" />

                                    </el-col>
                                    <el-col :span="10">
                                        <el-button type="primary" class="ch_button " @click="search">
                                            <img class="ch_button_img" src="../../assets/iconfont/zoom-out.png" alt=""
                                                srcset="">
                                            <div>搜索</div>
                                        </el-button>
                                        <el-button type="primary" class="ch_button " @click="reset">
                                            <img class="ch_button_img" src="../../assets/iconfont/rotate-ccw.png" alt=""
                                                srcset="">
                                            <div>选项重置</div>
                                        </el-button>
                                        <el-button type="primary" class="ch_button " :disabled="isDerive"
                                            @click="derive">
                                            <img class="ch_button_img" src="../../assets/iconfont/share.png" alt=""
                                                srcset="">
                                            <div>数据导出</div>
                                        </el-button>
                                    </el-col>
                                </el-row>
                            </el-col>

                        </el-row>
                    </el-col>
                </el-row>
            </el-col>
            <el-col class="dialog_title_ch_conter_operate  card_contents_tex">
                <el-table border ref="singleTable" :data="tableData" :key="randomTableKey" :height="endHeight" fit
                    style="width: 100%;" header-row-class-name="hrcn" row-class-name="rcn">
                    <el-table-column align="center" label="ID" min-width="200">
                        <template slot-scope="scope">
                            {{ scope.row.orderNo }}
                        </template>
                    </el-table-column>
                    <el-table-column align="center" label="订单状态" min-width="117">
                        <template slot-scope="scope">
                            {{ presentStageoptionsA[scope.row.presentStage] }}
                        </template>
                    </el-table-column>
                    <el-table-column align="center" label="设备编号" min-width="137">
                        <template slot-scope="scope">
                            {{ scope.row.deviceNo }}
                        </template>
                    </el-table-column>
                    <el-table-column align="center" label="机构地域" min-width="234">
                        <template slot-scope="scope">
                            {{ scope.row.regionName }}
                        </template>
                    </el-table-column>
                    <el-table-column align="center" label="配置机构" min-width="369">
                        <template slot-scope="scope">
                            {{ scope.row.hospitalName }}
                        </template>
                    </el-table-column>
                    <el-table-column align="center" label="配置科室" min-width="118">
                        <template slot-scope="scope">
                            {{ scope.row.hospitalDepartName }}
                        </template>
                    </el-table-column>
                    <el-table-column align="center" label="部位病种" min-width="125">
                        <template slot-scope="scope">
                            {{ scope.row.treatmentName }}
                        </template>
                    </el-table-column>
                    <el-table-column align="center" label="责任人" min-width="105">
                        <template slot-scope="scope">
                            {{ scope.row.configurationName }}
                        </template>
                    </el-table-column>
                    <el-table-column align="center" label="配置时间" min-width="199">
                        <template slot-scope="scope">
                            {{ parseTime(scope.row.configurationTime, '{y}-{m}-{d} {h}:{i}:{s}') }}
                        </template>
                    </el-table-column>
                    <el-table-column align="center" label="配置地址" min-width="369">
                        <template slot-scope="scope">
                            {{ scope.row.dicAddress }}
                        </template>
                    </el-table-column>
                    <el-table-column fixed="right" align="center" label="操作" width="140">
                        <template slot-scope="scope">
                            <el-button class="editbtn" type="text" size="small" @click="viewClick(scope.row)">
                                <img src="../../assets/iconfont/particulars.png" alt="">
                                查看</el-button>
                            <!-- <el-button class="delbtn" type="text" size="small" @click="delClick(scope.row)">
                  <img src="../../assets/iconfont/icondel.png" alt="">
                  删除</el-button> -->
                        </template>
                    </el-table-column>
                </el-table>
                <div class="paginationblock" v-if="tableData.length > 0">
                    <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange"
                        :current-page="pageData.pageNo" :page-sizes="[10, 20, 30, 40]" :page-size="pageData.pageSize"
                        :background="true" layout="total, sizes, prev, pager, next, jumper" :total="total">
                    </el-pagination>
                </div>
            </el-col>
        </el-row>

        <!-- 新增 编辑 -->
        <el-dialog :visible.sync="addDialogVisible" custom-class="addeteDialog" :modal='true'>
            <div slot="title">
                <div class="title_top_E">Order Details</div>
                <div class="title_top_C">订单详情</div>
            </div>
            <div class="addeteDialog_conter" v-loading="loading" element-loading-text="Loading..."
                element-loading-spinner="el-icon-loading" element-loading-background="rgba(0, 0, 0, 0.7)">
                <div class="top_content">
                    <div class="top_content_item">
                        <div class="top_content_item_title">订单信息</div>
                        <el-row :gutter="20">
                            <el-col class="" :span="12">
                                <span class="top_content_item_lable">订单号：</span>
                                <span class="top_content_item_value">{{ fromDatas.orderNo }}</span>
                            </el-col>
                            <el-col class="" :span="12">
                                <span class="top_content_item_lable">订单状态：</span>
                                <span
                                    class="top_content_item_value">{{ presentStageoptionsA[fromDatas.presentStage] }}</span>
                            </el-col>
                            <el-col class="" :span="12">
                                <span class="top_content_item_lable">设备编号：</span>
                                <span class="top_content_item_value">{{ fromDatas.deviceNo }}</span>
                            </el-col>
                            <el-col class="" :span="12">
                                <span class="top_content_item_lable">配置科室：</span>
                                <span class="top_content_item_value">{{ fromDatas.hospitalDepartName }}</span>
                            </el-col>
                            <el-col class="" :span="12">
                                <span class="top_content_item_lable">部位病种：</span>
                                <span class="top_content_item_value">{{ fromDatas.treatmentName }}</span>
                            </el-col>
                            <el-col class="" :span="12">
                                <span class="top_content_item_lable">配置机构：</span>
                                <span class="top_content_item_value">{{ fromDatas.hospitalName }}</span>
                            </el-col>
                            <el-col class="" :span="12">
                                <span class="top_content_item_lable">配置时间：</span>
                                <span class="top_content_item_value">{{ parseTime(fromDatas.configurationTime, '{y}-{m}-{d} {h}:{i}:{s}') }}</span>
                            </el-col>
                            <el-col class="" :span="12">
                                <span class="top_content_item_lable">配置地址：</span>
                                <span class="top_content_item_value">{{ fromDatas.dicAddress }}</span>
                            </el-col>
                            
                            <el-col class="" :span="12">
                                <span class="top_content_item_lable">责任人：</span>
                                <span class="top_content_item_value">{{ fromDatas.configurationName }}</span>
                            </el-col>
                            <el-col class="" :span="12">
                                <span class="top_content_item_lable">机构服务商：</span>
                                <span class="top_content_item_value">{{ fromDatas.serviceProvider }}</span>
                            </el-col>
                        </el-row>
                    </div>
                </div>
            </div>
        </el-dialog>
        <!-- 删除 -->
        <el-dialog title="提示" :visible.sync="delDialogVisible" custom-class="deleteDialog" :show-close='false'
            :modal='true'>
            <span class="deleteDialogSpanconter">您确认要删除该条信息？</span>
            <span slot="footer" class="dialog-footer">
                <el-button type="danger" @click="delHeld">确认删除</el-button>
                <el-button type="primary" @click="delDialogVisible = false">取消</el-button>
            </span>
        </el-dialog>
    </div>
</template>

<script>
import construction from '@/components/construction/index.vue'
import screenSelect from '@/components/screenSelect/index.vue'
import steplog from '@/components/steplog/index.vue'
import { getProvidersList } from '@/api/common'
import { getDdOrderPagelList, getDdOrderDetail, getTimeExpor, getTreatList } from '@/api/ordercenter'
import { formatDates } from '@/utils/index'
import { getHospitalList, getHosPartList, getHosPartIdList } from '@/api/organizational'
import { getDdOrderCountlList } from '@/api/ordercount'
import {
    mapGetters
} from 'vuex'
export default {
    name: "facilityorder",
    components: {
        construction,
        screenSelect,
        steplog
    },
    computed: {
        ...mapGetters([
            'permissionList'
        ])
    },
    data() {
        return {
            delDialogVisible: false,
            addDialogVisible: false,
            loading: true,
            fromDatas: {

            },
            presentStageoptionsA: ['待处理', '进行中', '已完成', '已逾期'],
            presentStageoptions: [
                {
                    value: 0,
                    label: '待处理'
                },
                {
                    value: 1,
                    label: '进行中'
                },
                {
                    value: 2,
                    label: '已完成'
                },
                {
                    value: 3,
                    label: '已逾期'
                },
            ],
            imageUrl: '',
            tableData: [],
            offsetHeight: 0,
            provoption: [],
            hospitaloptions: [],
            hospartoptions: [],
            treatLists:[],
            pageData: {
                pageNo: 1,
                pageSize: 10
            },
            total: 0,
            queryFrom: {
                orderType: 1,
                useType: '',
                phone: '',
                hospitalId: '',
                hospitalDepartId: '',
                presentStage: '',
                isSettlementStatus: '',
                serviceProvider: '',
                transferDateTime: '',
                transferDateStart: '',
                transferDateEnd: '',
                // operationType:0
            },
            endHeight: 0,
            randomTableKey: null,
            isDerive: false,
            contenData: null
        };
    },
    mounted() {
        console.log(this.$route);
        this.getPrList()
        this.getHpitalList()
        // this.getHPartList()
        this.getList()
        let fHeight = (window.getComputedStyle(document.querySelector('.editcss')).height).replace('px', "")
        let zHeight = (window.getComputedStyle(document.querySelector('.titleHeight')).height).replace('px', "")
        this.endHeight = (fHeight - zHeight - 120)
        this.getConten()
        this.getTreat()
    },
    methods: {
        getTreat() {
            getTreatList().then(res => {
                if (res.code == 200) {
                    res.data.treatLists.map(item=>{
                        item.label = item.treatmentName
                        item.value = item.treatmentId
                    })
                    this.treatLists = res.data.treatLists
                }
            })
        },

        getConten() {
            getDdOrderCountlList(this.queryFrom).then(res => {
                if (res.code == 200) {
                    this.contenData = res.data.orderCount
                }
            })
        },
        getList() {
            let that = this
            const loading = that.$loading({
                lock: true,
                text: 'Loading...',
                spinner: 'el-icon-loading',
                background: 'rgba(0, 0, 0, 0.7)'
            });
            getDdOrderPagelList(this.queryFrom, this.pageData).then(res => {
                if (res.code == 200) {
                    this.tableData = res.data.ddOrderPage.records
                    this.total = res.data.ddOrderPage.total
                    this.randomTableKey = Math.random()
                    loading.close()
                }
            })
        },
        getHPartList() {
            if (this.queryFrom.hospitalId != '') {
                this.hospartoptions = []
                getHosPartIdList(this.queryFrom.hospitalId).then(res => {
                    if (res.code == 200) {
                        res.data.hospitalDepartList.map(item => {
                            this.hospartoptions.push({
                                value: item.deptId,
                                label: item.deptName
                            })
                        })
                    }
                })
            } else {
                this.hospartoptions = []
            }

        },
        getHpitalList() {
            this.hospitaloptions = []
            getHospitalList().then(res => {
                if (res.code == 200) {
                    res.data.hospitalList.map(item => {
                        this.hospitaloptions.push({
                            value: item.hospitalId,
                            label: item.hospitalName
                        })
                    })
                }
            })
        },

        getPrList() {
            this.provoption = []
            getProvidersList().then(res => {
                if (res.code == 200) {
                    res.data.providerList.map(item => {
                        this.provoption.push({
                            value: item,
                            label: item
                        })
                    })
                }
            })
        },
        handleSizeChange(val) {
            this.pageData.pageSize = val
            this.getList()
        },
        handleCurrentChange(val) {
            this.pageData.pageNo = val
            this.getList()
        },
        valueHeld(childParam, fatherparam) {
            this.queryFrom[fatherparam] = childParam
            if (fatherparam == 'hospitalId') {
                this.getHPartList()
            }
        },
        search() {
            this.pageData={
					pageNo: 1,
					pageSize: 10
				}
            if (this.queryFrom.transferDateTime != '') {
                this.queryFrom.transferDateEnd = formatDates(this.queryFrom.transferDateTime[1])
                this.queryFrom.transferDateStart = formatDates(this.queryFrom.transferDateTime[0])
            }
            this.getList()
            this.getConten()
        },
        reset() {
            this.queryFrom = {
                orderType: 1,
                useType: '',
                phone: '',
                hospitalId: '',
                hospitalDepartId: '',
                presentStage: '',
                isSettlementStatus: '',
                serviceProvider: '',
                transferDateTime: '',
                transferDateStart: '',
                transferDateEnd: '',
                // operationType:0
            }
            this.hospartoptions = []
            this.getList()
            this.getConten()
        },
        derive() {
            this.isDerive = true
            if (this.queryFrom.transferDateTime != '') {
                this.queryFrom.transferDateEnd = formatDates(this.queryFrom.transferDateTime[1])
                this.queryFrom.transferDateStart = formatDates(this.queryFrom.transferDateTime[0])
            }
            if (this.queryFrom.transferDateTime == '' || this.queryFrom.transferDateStart == '') {
                this.$Toast('请先选择时间再导出')
                this.isDerive = false
                return
            }
            getTimeExpor(this.queryFrom).then(res => {
                const link = document.createElement('a')
                const blob = new Blob([res.data], {
                    type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
                })
                console.log(res);
                const fileName = decodeURI(res.headers['content-disposition'].split(';')[1].split('=')[1].substring(7));
                link.setAttribute('download', fileName)
                link.style.display = 'none'
                link.href = URL.createObjectURL(blob)
                link.click()
                setTimeout(() => {
                    this.isDerive = false
                }, 5000)
            }).catch(err => {
                setTimeout(() => {
                    this.isDerive = false
                }, 5000)
            })
        },
        // delClick(row) {
        //   this.delDialogVisible = true
        //   console.log(row);
        // },
        // 确认删除
        delHeld() {
            this.delDialogVisible = false
            this.$Toast('删除成功')
        },
        viewClick(row) {
            this.addDialogVisible = true
            this.loading = true
            getDdOrderDetail(row.orderNo).then(res => {
                if (res.code == 200) {
                    this.fromDatas = res.data.order
                    this.loading = false
                }
            })
        },

    }
}
</script>

<style lang="scss" scoped>
::v-deep .hrcn th {
    background-color: #FFFFFF;
    color: #989898;
    font-size: 15px;
    font-weight: 400;
}

::v-deep .el-table__fixed-right {
    height: calc(100% - 10px) !important;
}

::v-deep .el-table__fixed-right::before {
    display: none;
}

::v-deep .hrcn th .cell {
    border-right: 1px solid #EFEFEF;

}

::v-deep .hrcn th:last-child .cell {
    border-right: none;
}

::v-deep .rcn {
    color: #000;
    font-size: 16px;
    font-weight: 400;
}

::v-deep .rcn td:nth-last-child(1) {
    border-left: 1px solid #EFEFEF;
}

::v-deep .el-table--border td {
    border-right: 0;
}

::v-deep .el-table--border th {
    border-right: 0;
}

.card_contents {
    height: calc(100% - 1px);
    display: flex;
    flex-direction: column;
    align-items: center;
    // justify-content: center;
    overflow-y: auto;

    .card_contents_tex {
        flex: 1;
        // overflow-y: auto;
        margin-bottom: 20px;
        // padding: 20px;
        // min-height: 400px;
    }

    .card_contents_footer {
        padding: 16px 0;
        display: flex;
        align-items: center;
        justify-content: center;
        border-top: 1px solid #EFEFEF;
    }
}

.content_h {
    min-height: 149px;
    border-radius: 5px;
    padding: 0px;
    border-bottom: 1px solid #EFEFEF;
    padding-bottom: 14px;
}

.title_tops {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 20px;
    min-height: 79px;
    border-bottom: 1px solid #EFEFEF;

    .title_tops_t {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

.screen_case_title {
    font-size: 16px;
    font-weight: 400;
    color: #000;
    margin-right: 35px;
}

.title_top_E {
    font-size: 12px;
    font-weight: 400;
    color: #9898989E;
}

.title_top_C {
    font-size: 18px;
    font-weight: 400;
    color: #000;
}

.screen_case {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 14px 30px 0;
}

.screen_case_amount {
    // margin-right: 38px;
    min-width: 210px;

    .screen_case_amount_lable {
        font-size: 15px;
        color: #989898;
    }

    .screen_case_amount_value {
        font-size: 16px;
        color: #000;
    }
}

::v-deep .ch_button_seav {
    padding: 7px 27px;

    span {
        display: flex;
        align-items: center;
        justify-content: center;

        div {
            font-size: 16px;
            font-weight: 400;
            margin-left: 10px;
        }
    }
}

.ch_button_img_seav {
    width: 24px;
    height: 24px;
}

.dialog_title_ch_conter_operate {
    // padding: 24px 35px;
    // border: 1px solid #EBEBEB;
    border-radius: 2px;
    // display: flex;
    // align-items: center;
}

::v-deep .editbtn span,
::v-deep .delbtn span {
    display: flex;
    align-items: center;
    justify-content: center;
}

.editbtn,
.delbtn {
    img {
        width: 15px;
        height: 15px;
        margin-right: 4px;
    }
}

.delbtn {
    color: #FE294D;
    margin-left: 57px;
}

.editbtn:active,
.delbtn:active {
    opacity: .6;
}

.el-dialog__wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

//新增弹窗
::v-deep .addeteDialog {
    background-color: #FFFFFF;
    width: 1268px;
    // height: 764px;
    border-radius: 6px;
    box-shadow: 0 0 10px #60778E47;
    display: flex;
    flex-direction: column;
}

::v-deep .addeteDialog .el-dialog__header {
    height: 80px;

    div {
        display: flex;
        flex-direction: column;
    }

    border-bottom: 1px solid #EFEFEF;

    // 自定义弹窗x号
    .el-dialog__close::before {
        content: ' ';
        background: url(../../assets/iconfont/x-circle.png);
        background-size: 20px 20px;
        width: 20px;
        height: 20px;
        display: flex;
    }

    .el-dialog__close:active::before {
        background: url(../../assets/iconfont/x-circleactive.png);
        background-size: 20px 20px;
    }
}

::v-deep .addeteDialog .el-dialog__body {
    padding: 17px 20px;

    .addeteDialog_conter {
        // border: 1px solid #EFEFEF;
        flex: auto;
        display: flex;
        flex-direction: column;

        .top_content {
            flex: 1;
            min-height: 200px;
            max-height: 580px;
            overflow-y: auto;

            // padding: 20px 23px;
            .top_content_item {
                border: 1px solid #EFEFEF;
                padding: 11px 17px;
                margin-bottom: 14px;

                .top_content_item_title {
                    font-size: 15px;
                    font-weight: 400;
                    color: #989898;
                    margin-bottom: 20px;
                }

                .top_content_item_lable {
                    font-size: 15px;
                    color: #989898;
                    font-weight: 400;
                    margin-bottom: 14px;
                    display: inline-block;
                }

                .top_content_item_value {
                    font-size: 16px;
                    color: #000000;
                    font-weight: 400;
                }
            }

            .content_checkbox {
                .title_che {
                    margin-top: 20px;
                    margin-bottom: 10px;
                    font-size: 15px;
                    font-weight: 400;
                    color: #989898;
                }

                .title_che_sup {
                    font-size: 13px;
                    font-weight: 400;
                    color: #414141;
                }

                .el-checkbox {
                    margin-top: 8px;
                }

            }
        }

        .footer_submit {
            display: flex;
            align-items: center;
            justify-content: center;
            border-top: 1px solid #EFEFEF;
            padding: 10px 0 15px 0;
        }
    }
}

//删除弹窗
::v-deep .deleteDialog {
    background-color: #FFFFFF;
    width: 552px;
    height: 332px;
    border-radius: 6px;
    box-shadow: 0 0 10px #60778E47;
    display: flex;
    flex-direction: column;
}

::v-deep .deleteDialog .el-dialog__header {
    .el-dialog__title {
        color: #000;
        font-size: 18px;
        font-weight: 400;
    }

    border-bottom: 1px solid #EFEFEF;
    // 自定义弹窗x号
    // .el-dialog__close::before{
    //   content:' ';
    //   background: url(../../assets/iconfont/x-circle.png);
    //   background-size: 20px 20px;
    //   width: 20px;
    //   height: 20px;
    //   display: flex;
    // }
    // .el-dialog__close:active::before{
    //   background: url(../../assets/iconfont/x-circleactive.png);
    //   background-size: 20px 20px;
    // }
}

::v-deep .deleteDialogSpanconter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 18px;
    font-weight: 400;
    color: #000;
}

::v-deep .deleteDialog .el-dialog__body {
    flex: 1;
}

.deleteDialog .dialog-footer {
    display: flex;
    justify-content: center;
    align-items: center;

    button {
        width: 120px;
        height: 38px;
        border-radius: 1px;
        font-size: 16px;
        font-weight: 400;
        color: #FFFFFF;
    }

    button:active {
        opacity: .6;
    }

    button:nth-child(1) {
        margin-right: 32px;
        background-color: #FE294D;
        border-color: #FE294D;
    }

    button:nth-child(2) {
        background-color: #0584FE;
        border-color: #0584FE;
    }
}

::v-deep .el-button.ch_button {
    padding: 8px 9px;
}

::v-deep .el-button.ch_button span {
    display: flex;
    align-items: center;

    div {
        font-size: 13px;
        font-weight: 400;
        margin-left: 4px;
    }
}

.authority {
    margin-bottom: 25px;
}

::v-deep .el-table__body tr.hover-row.current-row>td,
::v-deep .el-table__body tr.hover-row.el-table__row--striped.current-row>td,
::v-deep .el-table__body tr.hover-row.el-table__row--striped>td,
::v-deep .el-table__body tr.hover-row>td {
    background-color: #dbdbdb;
}
</style>
